package javaLearning.Steam流式;

import java.time.LocalDateTime;

/**
 * @description:
 * @author: Kk
 * @create: 2020-12-03 17:13
 **/
public class User {
    int id;
    String name;
    int age;
    LocalDateTime birth;

    public static void main(String[] args) {
        Long value=Long.MAX_VALUE;
        double d=(double)value;
        float f=(float)value;
        System.out.println(d);
        System.out.println(f);
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public LocalDateTime getBirth() {
        return birth;
    }

    public void setBirth(LocalDateTime birth) {
        this.birth = birth;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", age=" + age +
                ", birth=" + birth +
                '}';
    }
}
